import request from '@/utils/request'

// 获取列表
export function getComplainIndex(params) {
  return request({
    url: '/manage/complain/index',
    method: 'get',
    params
  })
}

export function complainDel(data) {
  return request({
    url: '/manage/complain/complainDel',
    method: 'post',
    data
  })
}

// 投诉编辑
export function complainEdit(params) {
  return request({
    url: '/manage/complain/complainEdit',
    method: 'get',
    params
  })
}


